$(document).ready(function () {
	
	$('#saveAsUser').change(function() {
        if ($(this).is(':checked')) {
        	$('.userRelated').show();
        } else {
        	$('.userRelated').hide();
        }
    });
	
	$('#saveAsUser').trigger('change');
	$('input[type=file]').bootstrapFileInput();
	$('.file-inputs').bootstrapFileInput();
});